import { RouteRecordRaw } from "vue-router";

export const routeConfig: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'home',
    meta: { title: 'route_page_home', index: 1, keepAlive: true, deep: 1, animation: '' },
    component: () => import('@/views/home/index.vue'),

  },
  { // 首页头部搜索/收藏
    path: '/searchGames',
    name: 'searchGames',
    meta: { title: 'route_page_search', deep: 2 },
    component: () => import('@/views/searchGames/index.vue'),
  },
  {
    path: '/activity',
    name: 'activity',
    meta: { title: 'route_page_activity', deep: 1 },
    component: () => import('@/views/activity/index.vue'),

  },
  {
    path: '/activity/signIn',
    name: 'signIn',
    meta: { title: 'route_page_signIn', deep: 2 },
    component: () => import('@/views/activity/signIn/index.vue'),
  },
  {
    path: '/activity/loot',
    name: 'loot',
    meta: { title: 'route_page_loot', deep: 2 },
    component: () => import('@/views/activity/loot/index.vue'),
  },
  {
    path: '/activityDetail',
    name: 'activityDetail',
    meta: { title: 'route_page_activityDetail', deep: 3 },
    component: () => import('@/views/activityDetail/index.vue'),

  },
  {
    path: '/activity/redEnvelope',
    name: 'redEnvelope',
    meta: { title: 'route_page_redEnvelope', deep: 2 },
    component: () => import('@/views/activity/redEnvelope/index.vue'),

  },
  {
    path: '/me',
    name: 'me',
    meta: { title: 'route_page_me', deep: 1, animation: '' },
    component: () => import('@/views/me/index.vue'),

  },
  {
    path: '/record',
    name: 'record',
    meta: { title: 'route_page_record', deep: 2 },
    component: () => import('@/views/records/index.vue'),
  },
  {
    path: '/login_record',
    name: 'login_record',
    meta: { title: 'route_page_loginRecord', deep: 2 },
    component: () => import('@/views/records/loginRecord.vue'),
  },
  {
    path: '/trans',
    name: 'trans',
    meta: { title: 'trans', deep: 2 },
    component: () => import('@/views/trans/index.vue'),

  },
  {
    path: '/vip',
    name: 'vip',
    meta: { title: 'route_page_vip', deep: 2 },
    component: () => import('@/views/vip/index.vue'),
  },
  {
    path: '/vip/rule',
    name: 'vipRule',
    meta: { title: 'route_page_vipLevel', deep: 3 },
    component: () => import('@/views/vip/rules.vue'),
  },
  {
    path: '/deposit',
    name: 'deposit',
    meta: { title: 'route_page_deposit', animation: 'slide-right', deep: 2 },
    component: () => import('@/views/deposit/index.vue'),
  },
  {
    path: '/deposit/explain',
    name: 'depositExplain',
    meta: { title: 'deposit_page_instructions', deep: 3 },
    component: () => import('@/views/deposit/explain.vue'),
  },
  {
    path: '/deposit/prize',
    name: 'depositPrize',
    meta: { title: 'route_page_activityDetail', deep: 3 },
    component: () => import('@/views/deposit/prize.vue'),
  },
  {
    path: '/withdrawals',
    name: 'withdrawals',
    meta: { title: 'route_page_withdrawals', animation: 'slide-right', deep: 2 },
    component: () => import('@/views/withdrawals/index.vue'),
  },
  {
    path: '/withdrawals/explain',
    name: 'withdrawalsExplain',
    meta: { title: 'withdraw_page_instructions', deep: 3 },
    component: () => import('@/views/withdrawals/explain.vue'),
  },
  {
    path: '/withdrawalNext',
    name: 'withdrawalNext',
    meta: { title: 'route_page_withdrawals', deep: 2 },
    component: () => import('@/views/withdrawals/withdrawalsNext.vue'),
  },
  {
    path: '/withdrawal/info',
    name: 'withdrawalInfo',
    meta: { title: 'route_page_withdrawals', deep: 3 },
    component: () => import('@/views/withdrawals/component/calibrationInfo.vue'),
  },
  {
    path: '/myWallet',
    name: 'myWallet',
    meta: { title: 'route_page_wallet', deep: 2 },
    component: () => import('@/views/myWallet/index.vue'),
  },
  {
    path: '/depositNext',
    name: 'depositNext',
    meta: { title: 'route_page_deposit', deep: 2 },
    component: () => import('@/views/deposit/depositNext.vue'),
  },
  {
    path: '/securitySettings',
    name: 'securitySettings',
    meta: { title: 'route_page_securitySettings', deep: 2 },
    component: () => import('@/views/securitySettings/index.vue'),
  },
  {
    path: '/securitySettings/modifyPassWord',  // 修改密码
    name: 'modifyPassWord',
    meta: { title: 'home_page_modifyPassword', deep: 3 },
    component: () => import('@/views/securitySettings/modifyPassWord/index.vue'),
  },
  {
    path: '/securitySettings/modifyWithdraw',  // 修改资金密码
    name: 'modifyWithdraw',
    meta: { title: 'home_page_changeFundPassword', deep: 3 },
    component: () => import('@/views/securitySettings/modifyWithdraw/index.vue'),
  },
  {
    path: '/securitySettings/bindEmail',  // 绑定邮箱
    name: 'bindEmail',
    meta: { title: 'home_page_bindEmail', deep: 3 },
    component: () => import('@/views/securitySettings/bindEmail/index.vue'),
  },
  {
    path: '/securitySettings/bindPhone',  // 绑定手机
    name: 'bindPhone',
    meta: { title: 'home_page_bindPhone', deep: 3 },
    component: () => import('@/views/securitySettings/bindPhone/index.vue'),
  },
  {
    path: '/email', // 我的邮箱
    name: 'email',
    meta: { title: 'route_page_email', deep: 2, animation: '' },
    component: () => import('@/views/email/index.vue'),
  },
  //会员等级规则
  // {
  //   path: '/me/vip-level',
  //   name: 'vipLevel',
  //   meta: { title: 'route_page_vipLevel' },
  //   component: () => import('@/views/vipLevel/index.vue'),
  // },
  //我的优惠
  {
    path: '/myDiscounts',
    name: 'myDiscounts',
    meta: { title: 'route_page_discounts', deep: 2 },
    component: () => import('@/views/myDiscounts/index.vue'),
  },
  //代理合作
  {
    path: '/agencyCooperation',
    // name: 'agencyCooperation',
    meta: { deep: 2 },
    component: () => import('@/views/agencyCooperation/index.vue'),
  },

  //代理介绍
  {
    path: '/agentIntroduction',
    name: 'agentIntroduction',
    meta: { title: 'route_page_agentIntroduction', deep: 2 },
    component: () => import('@/views/agentIntroduction/index.vue'),
  },
  // 支付管理
  {
    path: '/paymentManagement',
    name: 'paymentManagement',
    meta: { title: 'home_page_paymentManagement', depth: 11, deep: 2 },
    component: () => import('@/views/paymentManagement/index.vue'),
  },
  // 支付管理--绑定银行卡
  {
    path: '/paymentManagement/bank',
    name: 'paymentManagementBank',
    meta: { title: 'paymentManagement_page_bank', depth: 12, deep: 3 },
    component: () => import('@/views/paymentManagement/bankList.vue'),
  },
  {
    path: '/paymentManagement/bankAdd',
    name: 'paymentManagementBankAdd',
    meta: { title: 'paymentManagement_page_bank', depth: 13, deep: 4 },
    component: () => import('@/views/paymentManagement/AddBank.vue'),
  },
  // 支付管理--绑定USDT
  {
    path: '/paymentManagement/usdt',
    name: 'paymentManagementUsdt',
    meta: { title: 'api_usdt', depth: 14, deep: 4 },
    component: () => import('@/views/paymentManagement/usdtList.vue'),
  },
  {
    path: '/paymentManagement/usdtAdd',
    name: 'paymentManagementUsdtAdd',
    meta: { title: 'api_usdt', depth: 15, deep: 4 },
    component: () => import('@/views/paymentManagement/AddUsdt.vue'),
  },
  // 游戏详情
  {
    path: '/gameDetail',
    name: 'gameDetail',
    meta: { title: 'home_page_gameDetail', deep: 3 },
    component: () => import('@/views/gameDetail/index.vue'),
  },
  // 游戏三级页面
  {
    path: '/game',
    name: 'game',
    meta: { title: 'home_page_game', deep: 2 },
    component: () => import('@/views/game/index.vue'),
  },
  // 聊天列表
  {
    path: '/chatList',
    meta: { deep: 2 },
    component: () => import('@/views/chat/chatList.vue'),
  },
  // 好友列表
  {
    path: '/friendsList',
    name: 'friendsList',
    meta: { deep: 2 },
    component: () => import('@/views/chat/friendsList.vue'),
  },
  // 聊天室
  {
    path: '/chatRoom',
    name: 'chatRoom',
    meta: { deep: 2 },
    component: () => import('@/views/chat/chatRoom/index.vue'),
  },
  // 快捷语设置
  {
    path: '/shortcut',
    name: 'shortcut',
    meta: { title: 'quick_reply_settings', deep: 2 },
    component: () => import('@/views/chat/shortcut/index.vue'),
  },
  {
    path: "/openGame",
    name: "openGame",
    meta: { title: "openGame", deep: 3 },
    component: () => import("@/views/openGame/index.vue"),
  },

  {
    path: "/club",
    name: "club",
    meta: { title: "club_page_cjjlb", deep: 2 },
    component: () => import("@/views/club/index.vue"),
  },
  {
    path: "/club/create",
    name: "clubCreate",
    meta: { title: "club_page_jlbsz", deep: 3 },
    component: () => import("@/views/club/create.vue"),
  },
  {
    path: "/club/myClub",
    name: "myClub",
    meta: { title: "club_page_wdjlb", deep: 3 },
    component: () => import("@/views/club/myClub/index.vue"),
  },
  {
    path: "/club/member",
    name: "member",
    meta: { title: "club_page_cygl", deep: 3 },
    component: () => import("@/views/club/member/index.vue"),
  },
  {
    path: "/club/member/approvalMenber",
    name: "approvalMenber",
    meta: { title: "club_page_cysp", deep: 4 },
    component: () => import("@/views/club/member/approvalMenber.vue"),
  },
  {
    path: "/club/member/allMember",
    name: "allMember",
    meta: { title: "club_page_qbcy", deep: 4 },
    component: () => import("@/views/club/member/allMember.vue"),
  },
  {
    path: "/club/detail",
    name: "clubDetail",
    meta: { title: "club_page_jlbxq", deep: 4 },
    component: () => import("@/views/club/clubDetails/index.vue"),
  },
  {
    path: "/club/handList",
    name: "handList",
    meta: { title: "club_page_pjgl", deep: 3 },
    component: () => import("@/views/club/handList/index.vue"),
  },
  {
    path: "/club/myHandList",
    name: "myHandList",
    meta: { title: "club_page_wdpj", deep: 3 },
    component: () => import("@/views/club/myHandList/index.vue"),
  },
  {
    path: "/club/clubHandList",
    name: "clubHandList",
    meta: { title: "club_page_pjlb", deep: 3 },
    component: () => import("@/views/club/clubHandList/index.vue"),
  },
  {
    path: "/club/tournamentList",
    name: "tournamentList",
    meta: { title: "club_page_sslb", deep: 4 },
    component: () => import("@/views/club/tournamentList/index.vue"),
  },
  {
    path: "/club/eventDetails",
    name: "eventDetails",
    meta: { title: "club_page_ssxq", deep: 4 },
    component: () => import("@/views/club/eventDetails/index.vue"),
  },
  {
    path: "/club/createGamebling",
    name: "createGamebling",
    meta: { title: "club_page_cjpj", deep: 4 },
    component: () => import("@/views/club/createGamebling/index.vue"),
  },

  // 免费夺宝
  {
    path: "/freeLoot",
    name: "freeLoot",
    meta: { title: "free_loot", deep: 2 },
    component: () => import("@/views/freeLoot/index.vue"),
  },

  // 首存
  {
    path: "/firstStorage",
    name: "firstStorage",
    meta: { title: "first_storage", deep: 2 },
    component: () => import("@/views/firstStorage/index.vue"),
  },
  // 免费夺宝
  {
    path: "/category",
    name: "category",
    meta: { title: "", deep: 2 },
    component: () => import("@/views/category/index.vue"),
  },
  {
    path: "/categoryPage",
    name: "categoryPage",
    meta: { title: "", keepAlive: true, deep: 1 },
    component: () => import("@/views/categoryPage/index.vue"),
  },
  // 热门游戏
  {
    path: "/hotGameDetail",
    name: "hotGameDetail",
    meta: { title: "", deep: 2 },
    component: () => import("@/views/hotGameDetail/index.vue"),
    // component: () => import("@/views/freeLoot/index.vue"),
  },
  // 最近中奖
  {
    path: "/recentWin",
    name: "recentWin",
    meta: { title: "home_page_winning", keepAlive: true, deep: 1 },
    component: () => import("@/views/recentWin/index.vue"),
  },
  // 最近中奖详情
  {
    path: "/recentWin/detail",
    name: "recentWinDetail",
    meta: {
      title: "home_page_winning_detail",
      deep: 2
      //keepAlive: true,
    },
    component: () => import("@/views/recentWin/detail.vue"),
  },
]